package com.nativetalk.dao;

import com.nativetalk.base.Page;
import com.nativetalk.bean.TdNtNote;
import com.nativetalk.bean.note.TdNtNoteList;

import java.util.List;

/**
 * Created by lizhun on 2016/11/1.
 */
@MyBatisRepository
public interface TdNtNoteDao {
    /**
     * @Purpose
     * @Purpose  添加笔记
     * @version  4.0
     * @author   lizhun
     * @param    tdNtNote
     * @return   void
     */
    public void insertNote(TdNtNote tdNtNote);
    /**
     * @Purpose
     * @Purpose  修改笔记
     * @version  4.0
     * @author   lizhun
     * @param    tdNtNote
     * @return   void
     */
    public void updateNote(TdNtNote tdNtNote);
    /**
     * @Purpose
     * @Purpose  修改笔记
     * @version  4.0
     * @author   lizhun
     * @param    tdNtNote
     * @return   void
     */
    public void updateState(TdNtNote tdNtNote);
    /**
     * @Purpose
     * @Purpose  分页查找笔记
     * @version  4.0
     * @author   lizhun
     * @param    page
     * @return   List<TdNtNoteList>
     */
    public List<TdNtNoteList> findNoteByMembIdPage(Page page);
    /**
     * @Purpose
     * @Purpose  查找笔记数量
     * @version  4.0
     * @author   lizhun
     * @param    page
     * @return   int
     */
    public int findNoteByMembIdSize(Page page);
}
